<template>
	<view class="app_main_right">
		<view class="right_txt" @click="homeBtn">
			<image class="background" src="../../static/images/right_icon1.png" mode=""></image>
			<text>首页</text>
		</view>
		<view class="right_txt" @click="pushBtn">
			<image class="background" src="../../static/images/right_icon2.png" mode=""></image>
			<text>发布</text>
		</view>
		<!-- <view class="right_txt">
			<image class="background" src="../../static/images/right_icon3.png" mode=""></image>
			<text>转发</text>
		</view> -->
	</view>
</template>

<script>
	export default {
		name:"rightBtn",
		data() {
			return {
				
			};
		},
		methods:{
			homeBtn(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			},
			pushBtn(){
				uni.switchTab({
					url:'/pages/push/push'
				})
			},
		}
	}
</script>

<style lang="scss">
	.app_main_right{
		position: fixed;
		right: 0;
		bottom: 150rpx;
		z-index: 10;
		width: 88rpx;
		padding: 15rpx 0 40rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 5rpx 16rpx 0rpx rgba(173,173,173,0.7);
		border-radius: 44rpx;
		.right_txt{
			width: 100%;
			padding-top: 25rpx;
			image{
				display: block;
				width: 39rpx;
				height: 39rpx;
				margin: auto;
			}
			text{
				display: block;
				width: 100%;
				text-align: center;
				font-size: 20rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #000000;
				line-height: 36rpx;
				padding-top: 5rpx;
			}
		}
	}
</style>